package com.dm.dao;

import com.dm.pojo.DmItemCinemaSeat;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

@Mapper
public interface DmItemCinemaSeatMapper {

	public DmItemCinemaSeat getDmItemCinemaSeatById(@Param(value = "id") Long id)throws Exception;

	public List<DmItemCinemaSeat>	getDmItemCinemaSeatListByMap(Map<String, Object> param)throws Exception;

	public Integer getDmItemCinemaSeatCountByMap(Map<String, Object> param)throws Exception;

	public Integer insertDmItemCinemaSeat(DmItemCinemaSeat dmItemCinemaSeat)throws Exception;

	public Integer updateDmItemCinemaSeat(DmItemCinemaSeat dmItemCinemaSeat)throws Exception;

	public Integer deleteDmItemCinemaSeatById(@Param(value = "id") Long id)throws Exception;

	public Integer batchDeleteDmItemCinemaSeat(Map<String, List<String>> params);

}